Get Your Competition
Each API key is linked to exactly one competition. You will need your competition identifier to do anything useful with the API – it acts as your username. This is the slug written in lowercase letters and underscores in place of spaces that shows up in your browser's address bar when you navigate to your competition.
curl https://platform.younoodle.com/client-api/v1/competition/my_competition \
-H 'YouNoodle-API-Key: 56f9bbec9bc614e351e5eea2ea851e31' \
-H 'Accept: application/json'
The above command returns JSON structured like this:
{
"id": "the_honey_badger_challenge",
"object": "competition",
"name": "The Honey Badger Challenge"
"created_at": 1459530776,
"facebook_handle": "honeybadger123",
"twitter_handle": "honeybadger123",
"logo_url": "https://static.younoodle.com/pictures/ab/cd/ef/honeybadger.jpg"
}
This endpoint retrieves all kittens.
HTTP Request
GET https://platform.younoodle.com/client-api/v1/competition/<id>
URL Parameters
| Parameter | Description |
|---|---|
| id | Your competition identifier |
tip
If you got this working, the rest should be a breeze.